package com.jinbai.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * 将首页内容整合起来
 */
public class ArticleListResult {
    public User currentUser;

    // 下面三个属性为空时，不进行展示
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public Integer articleCount;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public Integer typeCount;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public List<Article> articleList;
}
